Sets how big the Background Actor is drawn, about its anchor: 1 is the picture's real size, 2 twice as big, 0.5 half as big.
Game Boy: not available
Game Boy Color: not available
Sega Genesis: not available
On other consoles this differs: see Side by side and How the consoles differ.
actor_scale(scale)| Name | Type |
|---|---|
scale | real |
Nothing.
Sets how big the Background Actor is drawn, about its anchor: 1 is the picture's real size, 2 is twice as big, 0.5 is half as big. It does nothing in a room that has no zoomable background.
There is one number for both directions, because the console holds one matrix for the picture. It is held between 1/16 and 16. Past the edge of the picture the room behind it shows, so keep the art well inside the picture when the actor will grow.
// Step event of the boss: she leans toward the screen and back.
actor_scale(1.2 + 0.4 * angle_sin(frame_count * 2));The picture swells from 0.8 to 1.6 times its size and shrinks again, about its anchor.
A no-op in a room that has no zoomable background (set the room's Zoomable background to an actor picture). One number for both directions (the console holds one matrix for the picture). Held between 1/16 and 16. Past the edge of the picture the room behind shows, so keep the art well inside the picture when the actor will grow or turn.